<html>
<head>
<title>User Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<script language="JavaScript" type="text/JavaScript"></script>
<style type="text/css">
<!--
body {
	background-color: #eef4f1;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style2 {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 11px; 
	color: #0A51A1;
	font-weight:bold; 
}
.style4 {color: #990000}
-->
</style></head>

<script>
	function submitNow() {

		document.form1.action="controller/ControlManagement.php?param=loginPost&option=login";
	//	document.form1.action="business/LoginPost.php";
		document.form1.submit();
	}
</script>

<?php
	
	$validation = $_GET["login"];

	
?>

<body>
<form name="form1" method="post" action="">
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th align="center" valign="middle" scope="col"><div align="center">
      <table width="500" border="0" cellspacing="0" cellpadding="0">
        <tr>
          
		  <input type="hidden" id="param" name="param" value="login"/>
          
        </tr>
        <tr>
          <td><img src="view/images/login-text.gif" width="500" height="82"></td>
        </tr>
		<?php
			if($validation!=NULL && $validation=="false") {

		?>
			<tr>
				<td align="center" bgcolor="#92BED9"><span class="style4" ><b>In Valid UserName/Login</b></span></td>
			</tr>
		
		<?php	
			}	
	
		?>
        <tr>
          <td height="184" align="center" valign="top" bgcolor="#92BED9"><table width="400" height="100" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <th scope="col"><table width="400" height="100" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="174" scope="col"><div align="right" class="style2">User Name: </div></td>
                      <th width="18" scope="col">&nbsp;</th>
                      <th width="208" height="25" scope="col"><div align="left">
                          <input type="text" name="username" id="username">
                      </div></th>
                    </tr>
                    <tr>
                      <td><div align="right" class="style2">Password:</div></td>
                      <td>&nbsp;</td>
                      <td height="25"><div align="left">
                          <input type="password" name="password" id="password">
                      </div></td>
                    </tr>
                    
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td height="25"><div align="left"><img src="view/images/btn_go.gif" width="66" height="22" usemap="#Map"></div></td>
                    </tr>
                </table></th>
              </tr>
          </table></td>
        </tr>
       </table>
      </div></th>
  </tr>
</table>

</form>
<map name="Map">
  <area shape="rect" coords="1,3,88,26" href="javascript:submitNow();">
</map>
</body>
</html>
